//
//  GymListCell.m
//  YunDongAdmin
//
//  Created by lqq on 2018/9/5.
//  Copyright © 2018年 cloudfighting.com. All rights reserved.
//

#import "GymListCell.h"

@interface GymListCell ()
@property (weak, nonatomic) IBOutlet UIImageView *gymLogo;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UIImageView *selectImageView;

@end

@implementation GymListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _gymLogo.layer.cornerRadius = 2;
    _gymLogo.layer.masksToBounds = YES;
}

- (void)refreshCellWithStore:(M_Gym *)store
{
    _nameLabel.text = store.gymName;
    [_gymLogo setNetImageWithUrl:store.gymLogo];
    _selectImageView.hidden = !store.isSelect;
}

@end
